package com.sanda.rongbaoqing.controller;

import com.sanda.rongbaoqing.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Controller
public class HelloController {
    @Autowired
    HelloService helloService;
    @RequestMapping("/hello")
    public String hello(Model model) {
        // String userInfos = helloService.hello();
        //model.addAttribute("items", userInfos);
        return "123";
    }
}
//@RestController